Bandlimiting anti-noise in personal audio devices having adaptive noise cancellation (anc)

ABSTRACT

A personal audio device, such as a wireless telephone, includes noise canceling circuit that adaptively generates an anti-noise signal from a reference microphone signal and injects the anti-noise signal into the speaker or other transducer output to cause cancellation of ambient audio sounds. An error microphone may also be provided proximate the speaker to measure the output of the transducer in order to control the adaptation of the anti-noise signal and to estimate an electro-acoustical path from the noise canceling circuit through the transducer. A processing circuit that performs the adaptive noise canceling (ANC) function also either adjusts the frequency response of the anti-noise signal with respect to the reference microphone signal, and/or by adjusting the response of the adaptive filter independent of the adaptation provided by the reference microphone signal.

This U.S. patent application Claims priority under 35 U.S.C. 119(e) to U.S. Provisional Patent Application Ser. No. 61/493,162 filed on Jun. 3, 2011.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to personal audio devices such as wireless telephones that include noise cancellation, and more specifically, to a personal audio device in which the anti-noise signal is band-limited to make the ANC operation more effective.

2. Background of the Invention

Wireless telephones, such as mobile/cellular telephones, cordless telephones, and other consumer audio devices, such as MP3 players and headphones or earbuds, are in widespread use. Performance of such devices with respect to intelligibility can be improved by providing noise canceling using a microphone to measure ambient acoustic events and then using signal processing to insert an anti-noise signal into the output of the device to cancel the ambient acoustic events.

Since the acoustic environment around personal audio devices such as wireless telephones can change dramatically, depending on the sources of noise that are present and the position of the device itself, it is desirable to adapt the noise canceling to take into account such environmental changes. However, adaptive noise canceling circuits can be complex, consume additional power and can generate undesirable results under certain circumstances.

Therefore, it would be desirable to provide a personal audio device, including a wireless telephone, that provides noise cancellation in a variable acoustic environment.

SUMMARY OF THE INVENTION

The above stated objective of providing a personal audio device providing noise cancellation in a variable acoustic environment, is accomplished in a personal audio device, a method of operation, and an integrated circuit. The method is a method of operation of the personal audio device and the integrated circuit, which can be incorporated within the personal audio device.

The personal audio device includes a housing, with a transducer mounted on the housing for reproducing an audio signal that includes both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer. A reference microphone is mounted on the housing to provide a reference microphone signal indicative of the ambient audio sounds. The personal audio device further includes an adaptive noise-canceling (ANC) processing circuit within the housing for adaptively generating an anti-noise signal from the reference microphone signal such that the anti-noise signal causes substantial cancellation of the ambient audio sounds. An error microphone is included for controlling the adaptation of the anti-noise signal to cancel the ambient audio sounds and for correcting for the electro-acoustic path from the output of the processing circuit through the transducer. The ANC processing circuit avoids generating anti-noise that is disruptive, ineffective or that compromises performance in certain frequency ranges by shaping a frequency response of the anti-noise to the reference microphone signal and/or by adjusting a response of the adaptive filter independent of the adaptive control with respect to the reference microphone signal.

The foregoing and other objectives, features, and advantages of the invention will be apparent from the following, more particular, description of the preferred embodiment of the invention, as illustrated in the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an illustration of a wireless telephone 10 in accordance with an embodiment of the present invention.

FIG. 2 is a block diagram of circuits within wireless telephone 10 in accordance with an embodiment of the present invention.

FIGS. 3A-3E are block diagrams depicting signal processing circuits and functional blocks within ANC circuit 30 of CODEC integrated circuit 20 of FIG. 2 in accordance with various embodiments of the present invention.

FIG. 4A and FIG. 4B are block diagrams depicting signal processing circuits and functional blocks within integrated circuits in accordance with embodiments of the present invention.

DESCRIPTION OF ILLUSTRATIVE EMBODIMENT

The present invention encompasses noise canceling techniques and circuits that can be implemented in a personal audio device, such as a wireless telephone. The personal audio device includes an adaptive noise canceling (ANC) circuit that measures the ambient acoustic environment and generates an adaptive anti-noise signal that is injected in the speaker (or other transducer) output to cancel ambient acoustic events. A reference microphone is provided to measure the ambient acoustic environment and an error microphone is be included to control adaptation of the anti-noise signal to cancel the ambient acoustic events and to provide estimation of an electro-acoustical path from the output of the ANC circuit through the speaker. The ANC processing circuit avoids generating anti-noise that is disruptive, ineffective or that compromises performance in certain frequency ranges by shaping a frequency response of the anti-noise to the reference microphone signal and/or by adjusting a response of the adaptive filter independent of the adaptive control with respect to the error microphone signal.

Referring now to FIG. 1, a wireless telephone 10 is illustrated in accordance with an embodiment of the present invention is shown in proximity to a human ear 5. Illustrated wireless telephone 10 is an example of a device in which techniques in accordance with embodiments of the invention may be employed, but it is understood that not all of the elements or configurations embodied in illustrated wireless telephone 10, or in the circuits depicted in subsequent illustrations, are required in order to practice the invention recited in the Claims. Wireless telephone 10 includes a transducer such as speaker SPKR that reproduces distant speech received by wireless telephone 10, along with other local audio event such as ringtones, stored audio program material, injection of near-end speech (i.e., the speech of the user of wireless telephone 10) to provide a balanced conversational perception, and other audio that requires reproduction by wireless telephone 10, such as sources from web-pages or other network communications received by wireless telephone 10 and audio indications such as battery low and other system event notifications. A near-speech microphone NS is provided to capture near-end speech, which is transmitted from wireless telephone 10 to the other conversation participant(s).

Wireless telephone 10 includes adaptive noise canceling (ANC) circuits and features that inject an anti-noise signal into speaker SPKR to improve intelligibility of the distant speech and other audio reproduced by speaker SPKR. A reference microphone R is provided for measuring the ambient acoustic environment, and is positioned away from the typical position of a user's mouth, so that the near-end speech is minimized in the signal produced by reference microphone R. A third microphone, error microphone E is provided in order to further improve the ANC operation by providing a measure of the ambient audio combined with the audio reproduced by speaker SPKR close to ear 5 at an error microphone reference position ERP, when wireless telephone 10 is in close proximity to ear 5. Exemplary circuits 14 within wireless telephone 10 include an audio CODEC integrated circuit 20 that receives the signals from reference microphone R, near speech microphone NS and error microphone E and interfaces with other integrated circuits such as an RF integrated circuit 12 containing the wireless telephone transceiver. In other embodiments of the invention, the circuits and techniques disclosed herein may be incorporated in a single integrated circuit that contains control circuits and other functionality for implementing the entirety of the personal audio device, such as an MP3 player-on-a-chip integrated circuit.

In general, the ANC techniques of the present invention measure ambient acoustic events (as opposed to the output of speaker SPKR and/or the near-end speech) impinging on reference microphone R, and by also measuring the same ambient acoustic events impinging on error microphone E, the ANC processing circuits of illustrated wireless telephone 10 adapt an anti-noise signal generated from the output of reference microphone R to have a characteristic that minimizes the amplitude of the ambient acoustic events at error microphone E, i.e. at error microphone reference position ERP. Since acoustic path P(z) extends from reference microphone R to error microphone E, the ANC circuits are essentially estimating acoustic path P(z) combined with removing effects of an electro-acoustic path S(z) that represents the response of the audio output circuits of CODEC IC 20 and the acoustic/electric transfer function of speaker SPKR including the coupling between speaker SPKR and error microphone E in the particular acoustic environment, which is affected by the proximity and structure of ear 5 and other physical objects and human head structures that may be in proximity to wireless telephone 10, when wireless telephone is not firmly pressed to ear 5. Since the user of wireless telephone 10 actually hears the output of speaker SPKR at a drum reference position DRP, differences between the signal produced by error microphone E and what is actually heard by the user are shaped by the response of the ear canal, as well as the spatial distance between error microphone reference position ERP and drum reference position DRP. At higher frequencies, the spatial differences lead to multi-path nulls that reduce the effectiveness of the ANC system, and in some cases may increase ambient noise. While the illustrated wireless telephone 10 includes a two microphone ANC system with a third near speech microphone NS, some aspects of the present invention may be practiced in a system that does not include separate error and reference microphones, or a wireless telephone uses near speech microphone NS to perform the function of the reference microphone R. Also, in personal audio devices designed only for audio playback, near speech microphone NS will generally not be included, and the near-speech signal paths in the circuits described in further detail below can be omitted, without changing the scope of the invention.

Referring now to FIG. 2, circuits within wireless telephone 10 are shown in a block diagram. CODEC integrated circuit 20 includes an analog-to-digital converter (ADC) 21A for receiving the reference microphone signal and generating a digital representation ref of the reference microphone signal, an ADC 21B for receiving the error microphone signal and generating a digital representation err of the error microphone signal, and an ADC 21C for receiving the near speech microphone signal and generating a digital representation ns of the near speech microphone signal. CODEC IC 20 generates an output for driving speaker SPKR from an amplifier A1, which amplifies the output of a digital-to-analog converter (DAC) 23 that receives the output of a combiner 26. Combiner 26 combines audio signals is from internal audio sources 24, the anti-noise signal generated by ANC circuit 30, which by convention has the same polarity as the noise in reference microphone signal ref and is therefore subtracted by combiner 26, a portion of near speech microphone signal ns so that the user of wireless telephone 10 hears their own voice in proper relation to downlink speech ds, which is received from radio frequency (RF) integrated circuit 22 and is also combined by combiner 26. Near speech microphone signal ns is also provided to RF integrated circuit 22 and is transmitted as uplink speech to the service provider via antenna ANT.

Referring now to FIG. 3A, details of an ANC circuit 30A are shown in accordance with an embodiment of the present invention that may be used to implement ANC circuit 30 of FIG. 2. Adaptive filter 32 receives reference microphone signal ref and under ideal circumstances, adapts its transfer function W(z) to be P(z)/S(z) to generate the anti-noise signal. The coefficients of adaptive filter 32 are controlled by a W coefficient control block 31 that uses a correlation of two signals to determine the response of adaptive filter 32, which generally minimizes, in a least-mean squares sense, those components of reference microphone signal ref that are present in error microphone signal err. The signals provided as inputs to W coefficient control block 31 are the reference microphone signal ref as shaped by a copy of an estimate of the response of path S(z) provided by filter 34B and another signal provided from the output of a combiner 36 that includes error microphone signal err. By transforming reference microphone signal ref with a copy of the estimate of the response of path S(z), SE_(COPY)(z), and minimizing the portion of the error signal that correlates with components of reference microphone signal ref, adaptive filter 32 adapts to the desired response of P(z)/S(z). A filter 37A that has a response C_(x)(z) as explained in further detail below, processes the output of filter 34B and provides the first input to W coefficient control block 31. The second input to W coefficient control block 31 is processed by another filter 37B having a response of C_(e)(z). Response C_(e)(z) has a phase response matched to response C_(x)(z) of filter 37A. The input to filter 37B includes error microphone signal err and an inverted amount of downlink audio signal ds that has been processed by filter response SE(z), of which response SE_(COPY)(z) is a copy. Combiner 36 combines error microphone signal err and the inverted downlink audio signal ds. By injecting an inverted amount of downlink audio signal ds adaptive filter 32 is prevented from adapting to the relatively large amount of downlink audio present in error microphone signal err and by transforming that inverted copy of downlink audio signal ds with the estimate of the response of path S(z), the downlink audio that is removed from error microphone signal err before comparison should match the expected version of downlink audio signal ds reproduced at error microphone signal err, since the electrical and acoustical path of S(z) is the path taken by downlink audio signal ds to arrive at error microphone E.

To implement the above, adaptive filter 34A has coefficients controlled by SE coefficient control block 33, which updates based on correlated components of downlink audio signal ds and an error value. The error value represents error microphone signal err after removal of the above-described filtered downlink audio signal ds, which has been previously filtered by adaptive filter 34A to represent the expected downlink audio delivered to error microphone E. The filtered version of downlink audio signal ds is removed from the output of adaptive filter 34A by combiner 36. SE coefficient control block 33 correlates the actual downlink speech signal ds with the components of downlink audio signal ds that are present in error microphone signal err. Adaptive filter 34A is thereby adapted to generate a signal from downlink audio signal ds, that when subtracted from error microphone signal err, contains the content of error microphone signal err that is not due to downlink audio signal ds.

Under certain circumstances, the anti-noise signal provided from adaptive filter 32 may contain more energy at certain frequencies due to ambient sounds at other frequencies, because W coefficient control block 31 has adjusted the frequency response of adaptive filter 32 to suppress the more energetic signals, while allowing the gain of other regions of the frequency response of adaptive filter 32 to rise, leading to a boost of the ambient noise, or “noise boost”, in the other regions of the frequency response. In particular, noise boost is problematic when coefficient control block 31 has adjusted the frequency response of adaptive filter 32 to suppress more energetic signals in higher frequency ranges, e.g., between 2 kHz and 5 kHz, where multi-path nulls in paths P(z) and S(z) generally arise and the frequency response of the canal of the user's ear 5, starts to contribute to the overall operation of the ANC system as perceived by the listener. Since the phase of the anti-noise signal may not match the phase of the ambient audio sounds at drum reference position DRP in these upper frequency ranges, the anti-noise signal may actually increase noise perceived by the listener, and noise boost may compound the problem. Therefore, ANC circuit 30A includes an additional infinite impulse response (IIR) filter 39 to filter the anti-noise signal before the anti-noise signal is combined with downlink speech ds and sent to speaker SPKR. Filter 39 may alternatively be another type of filter such as a finite impulse response (FIR) filter. Filter 39 may be a low-pass filter that passes only generated anti-noise below a certain frequency, e.g., 2 kHz, or alternatively, filter 39 may be a notch filter that suppresses a particular problem frequency, e.g., a known frequency at which a multi-path null is present due to the acoustical length of path P(z) so that the phase of the anti-noise signal is incorrect. In accordance with another embodiment of the invention, filter 39 may be a high-pass filter that removes problematic low-frequency anti-noise components, or filter 39 may be a bandpass filter. Filter 39 removes the anti-noise either above the cut-off frequency of filter 39 when a low-pass filter response is used, below the cut-off frequency of filter 39 when a high-pass filter is used, removes the region of problem frequencies when a notch filter response is used, or removes both low and high ranges outside of a passband when a bandpass filter is used. The notch filter response could also include multiple nulls, in order to shape the frequencies present in the anti-noise signal to remove problem spot frequencies. ANC circuit 30A of FIG. 3A is an example of a circuit that adjusts the frequency response of the anti-noise signal with respect to reference microphone signal ref. In order to preserve stability in the output of W coefficient control 31, response C_(x)(z) of filter 37A includes a copy of the response of filter 39. A low-pass characteristic is provided in each of filters 37A and 37B so that the action of W coefficient control 31 does not attempt to counteract the processing performed by filter 39 by adapting response W(z) of adaptive filter 32.

Referring now to FIG. 3B, details of another ANC circuit 30B are shown in accordance with an alternative embodiment of the present invention that may be used to implement ANC circuit 30 of FIG. 2. ANC circuit 30B is similar to ANC circuit 30A of FIG. 3A, so only differences between them will be described below. In ANC circuit 30B, the anti-noise output of adaptive filter 32 is filtered, while allowing W coefficient control block 31 to adapt just as the anti-noise signal was not filtered, a first notch filter 39A removes certain frequencies from the anti-noise signal, but a second all-pass filter 39B having a phase response matching the phase response of notch filter 39A is provided to also filter the anti-noise signal. A combiner 36A subtracts the output of notch filter 39A from the output of all-pass filter 39B to generate a signal that represents the information removed from the anti-noise signal by notch filter 39A. The output of combiner 36A is then combined with downlink speech ds before downlink speech ds is provided to filter 34A, preventing the response of notch filter 39A from appearing in the output of combiner 36, since the output of combiner 36A as processed by filter 34A is ideally equal to the change in error microphone signal err due to the presence of notch filter 39A. Reference microphone signal ref is also processed by a notch filter 39C having a copy of the response of N′(z) before processing by filter 34B. The above-described circuit effectively hides the amplitude response of filter 39A from both error microphone signal err and from reference microphone signal ref inputs to W coefficient control block 31, so that W coefficient control circuit 31 does not attempt to adapt the coefficients of adaptive filter 32 to cancel the response of filter 39A, which may be a notch, as described above, or which may be another filter type, such as the low-pass or high-pass filter described above with reference to FIG. 3A.

Referring now to FIG. 3C, details of another ANC circuit 30C are shown in accordance with another alternative embodiment of the present invention that may be used to implement ANC circuit 30 of FIG. 2. ANC circuit 30C is similar to ANC circuit 30A of FIG. 3A, so only differences between them will be described below. In ANC circuit 30C, rather than employing an adaptive filter for W(z) in which the entire response is controlled by W coefficient control 31, in ANC circuit 30C, the response of the filter implementing W(z) has only a single gain tap. W coefficient control circuit 31 controls the gain of the anti-noise signal via gain block 35, while the remainder of W(z) is provided by a fixed response filter 32A that implements response W_(FIXED)(z), which is generally a response adapted to the particular design of the personal audio device in a typical acoustic environment. Since the low-frequency gain of W(z) and SE(z) are the components that vary the most due to positioning with respect to the source of acoustic noise and the proximity/pressure of the phone to the ear, providing an adaptive filter with only a gain control for W(z) can prevent introduction of noise boost, since the amplitude response of filter 32A can be very low for other frequencies.

Referring now to FIG. 3D, details of another ANC circuit 30D are shown in accordance with another alternative embodiment of the present invention that may be used to implement ANC circuit 30 of FIG. 2. ANC circuit 30D is similar to ANC circuit 30C of FIG. 3C, so only differences between them will be described below. In ANC circuit 30D, rather than employing a fixed filter for W(z) and only adaptively adjusting the gain applied to the anti-noise signal, in ANC circuit 30D, a fixed response W_(FIXED)(x) is provided by filter 32A and an adaptive portion of the response W_(ADAPT)(z) is provided by adaptive filter 32B, and the outputs of filters 32A and 32B are combined by combiner 36B to provide a total response that has a fixed and an adaptive portion. W coefficient control block 31A has a leaky response, i.e., the response is time-variant such that the response tends over time to a flat frequency response or another predetermined initial frequency response, so that any adaptive change is stabilized by undoing the adaptive change over time.

Referring now to FIG. 3E, details of another ANC circuit 30E are shown in accordance with another alternative embodiment of the present invention that may be used to implement ANC circuit 30 of FIG. 2. ANC circuit 30E is similar to ANC circuit 30B of FIG. 3B, so only differences between them will be described below. Rather than removing frequencies from the anti-noise signal using a separate filter as in ANC circuit 30B of FIG. 3B, ANC circuit 30E injects a noise signal noise(z) using a noise generator 37 that is supplied to a copy W_(COPY)(z) of the response W(z) of adaptive filter 32 provided by an adaptive filter 32C. A combiner 36C adds noise signal noise(z) to the output of adaptive filter 34B that is provided to W coefficient control 31. Noise signal n(z), as shaped by filter 32C, is subtracted from the output of combiner 36 by a combiner 36D so that noise signal n(z) is asymmetrically added to the correlation inputs to W coefficient control 31, with the result that the response W(z) of adaptive filter 32 is biased by the completely correlated injection of noise signal n(z) to each correlation input to W coefficient control 31. Since the injected noise appears directly at the reference input to W coefficient control 31, does not appear in error microphone signal err, and only appears at the other input to W coefficient control 31 via the combining of the filtered noise at the output of filter 32C by combiner 36D, W coefficient control will adapt W(z) to attenuate the frequencies present in noise(z). The content of noise signal n(z) does not appear in the anti-noise signal, only in the response W(z) of adaptive filter 32 which will have amplitude decreases at the frequencies/bands in which noise signal n(z) has energy. For example, if it is desirable to decrease the response of W(z) in the vicinity of 1 kHz, noise(z) can be generated to have a spectrum that has energy at 1 kHz, which will cause W coefficient control 31 to decrease the gain of adaptive filter 32 at 1 kHz in an attempt to cancel the apparent source of ambient acoustic sound due to injected noise signal noise(z).

Referring now to FIG. 4A, a block diagram of an ANC system is shown for illustrating ANC techniques in accordance with the embodiments of the invention as illustrated in FIGS. 3A-3D, as may be implemented within CODEC integrated circuit 20. Reference microphone signal ref is generated by a delta-sigma ADC 41A that operates at 64 times oversampling and the output of which is decimated by a factor of two by a decimator 42A to yield a 32 times oversampled signal. A delta-sigma shaper 43A spreads the energy of images outside of bands in which a resultant response of a parallel pair of filter stages 44A and 44B will have significant response. Filter stage 44B has a fixed response W_(FIXED)(z) that is generally predetermined to provide a starting point at the estimate of P(z)/S(z) for the particular design of wireless telephone 10 for a typical user. An adaptive portion W_(ADAPT)(z) of the response of the estimate of P(z)/S(z) is provided by adaptive filter stage 44A, which is controlled by a leaky least-means-squared (LMS) coefficient controller 54A. Leaky LMS coefficient controller 54A is leaky in that the response normalizes to flat or otherwise predetermined response over time when no error input is provided to cause leaky LMS coefficient controller 54A to adapt. Providing a leaky controller prevents long-term instabilities that might arise under certain environmental conditions, and in general makes the system more robust against particular sensitivities of the ANC response. Since LMS coefficient controller 54A has a leaky response, the embodiment of the invention as illustrated in FIG. 3D is included in the system of FIG. 4A. Further, if adaptive filter stage 44A includes only a single gain tap, then the embodiment of the invention as illustrated in FIG. 3C is essentially included in the system of FIG. 4A. Although fixed-response filter 44B in FIG. 4A is arranged in a different circuit arrangement than fixed response filter 32A in FIG. 3C, since the only adaptive portion of the response is either the gain of amplifier 35 or a single tap provided in adaptive filter stage 44A, the adapting of W(z) will occur (and be constrained) in an equivalent manner. Alternatively, or in combination, a notch, low-pass or high-pass filter 39A can be optionally included to filter the anti-noise signal at the output of combiner 46A, as in the embodiment of the invention illustrated in FIG. 3A and FIG. 3B, and all-pass filter 39B and combiner 46F can provide a difference signal that can be added by a combiner 46G to the output of combiner 46D prior to its introduction to filters 55A,55B as in the embodiment of the invention illustrated in FIG. 3B. Filter 39C is added between the output of delta-sigma shaper 43A and the input to filter 51 when filter 39A is present, so that leaky LMS 54A does not attempt to remove the response of filter 39A from the anti-noise signal by adaptation.

As in the systems of FIGS. 3A-3D, in the system depicted in FIG. 4A, the reference microphone signal is filtered by a copy SE_(COPY)(z) of the estimate of the response of path S(z), by a filter 51 that has a response SE_(COPY)(z), the output of which is decimated by a factor of 32 by a decimator 52A to yield a baseband audio signal that is provided, through an infinite impulse response (IIR) filter 53A to leaky LMS 54A. The error microphone signal err is generated by a delta-sigma ADC 41C that operates at 64 times oversampling and the output of which is decimated by a factor of two by a decimator 42B to yield a 32 times oversampled signal. As in the systems of FIGS. 3A-3D, an amount of downlink audio ds that has been filtered by an adaptive filter to apply response S(z) is removed from error microphone signal err by a combiner 46C, the output of which is decimated by a factor of 32 by a decimator 52C to yield a baseband audio signal that is provided, through an infinite impulse response (IIR) filter 53B to leaky LMS 54A. Response S(z) is produced by another parallel set of filter stages 55A and 55B, one of which, filter stage 55B has fixed response SE_(FIXED)(z), and the other of which, filter stage 55A has an adaptive response SE_(ADAPT)(z) controlled by leaky LMS coefficient controller MB. The outputs of filter stages 55A and 55B are combined by a combiner 46E. Similar to the implementation of filter response W(z) described above, response SE_(FIXED)(z) is generally a predetermined response known to provide a suitable starting point under various operating conditions for electrical/acoustical path S(z). A separate control value is provided in the system of FIG. 4A to control filter 51, which is shown as a single filter stage. However, filter 51 could alternatively be implemented using two parallel stages and the same control value used to control adaptive filter stage 55A could then be used to control the adaptive stage in the implementation of filter 51. The inputs to leaky LMS control block 54B are also at baseband, provided by decimating a combination of downlink audio signal ds and internal audio ia, generated by a combiner 46H, by a decimator 52B that decimates by a factor of 32 after a combiner 46C has removed the signal generated from the combined outputs of adaptive filter stage 55A and filter stage 55B that are combined by another combiner 46E. The output of combiner 46C represents error microphone signal err with the components due to downlink audio signal ds removed, which is provided to LMS control block 54B after decimation by decimator 52C. The other input to LMS control block 54B is the baseband signal produced by decimator 52B.

The above arrangement of baseband and oversampled signaling provides for simplified control and reduced power consumed in the adaptive control blocks, such as leaky LMS controllers 54A and 54B, while providing the tap flexibility afforded by implementing adaptive filter stages 44A-44B, 55A-55B and adaptive filter 51 at the oversampled rates. The remainder of the system of FIG. 4A includes combiner 46H that combines downlink audio ds with internal audio ia, the output of which is provided to the input of a combiner 46D that adds a portion of near-end microphone signal ns that has been generated by sigma-delta ADC 41B and filtered by a sidetone attenuator 56 to prevent feedback conditions. The output of combiner 46D is shaped by a sigma-delta shaper 43B that provides inputs to filter stages 55A and 55B that has been shaped to shift images outside of bands where filter stages 55A and 55B will have significant response.

In accordance with an embodiment of the invention, the output of combiner 46D is also combined with the output of adaptive filter stages 44A-44B that have been processed by a control chain that includes a corresponding hard mute block 45A, 45B for each of the filter stages, a combiner 46A that combines the outputs of hard mute blocks 45A, 45B, a soft mute 47 and then a soft limiter 48 to produce the anti-noise signal that is subtracted by a combiner 46B with the source audio output of combiner 46D. The output of combiner 46B is interpolated up by a factor of two by an interpolator 49 and then reproduced by a sigma-delta DAC 50 operated at the 64× oversampling rate. The output of DAC 50 is provided to amplifier A1, which generates the signal delivered to speaker SPKR.

Referring now to FIG. 4B, a block diagram of another ANC system is shown for illustrating ANC techniques in accordance with the embodiment of the invention as illustrated in FIGS. 3E, as may be implemented within CODEC integrated circuit 20. The ANC system of FIG. 4B is similar to that of FIG. 4A, so only differences between them will be described in detail below. The ANC system of FIG. 4B includes a noise generator 37 and combiners 36C, 36D that inject noise symmetrically into the correlation inputs of leaky LMS 54A, so that by injecting noise with a particular characteristic, the response of adaptive filter portion 44A which will have amplitude increases at the frequencies/bands in which noise signal n(z) has energy, but so that noise signal n(z) itself does not appear in the anti-noise signal.

Each or some of the elements in the systems of FIG. 4A and FIG. 4B, as well in as the exemplary circuits of FIG. 2 and FIGS. 3A-3E, can be implemented directly in logic, or by a processor such as a digital signal processing (DSP) core executing program instructions that perform operations such as the adaptive filtering and LMS coefficient computations. While the DAC and ADC stages are generally implemented with dedicated mixed-signal circuits, the architecture of the ANC system of the present invention will generally lend itself to a hybrid approach in which logic may be, for example, used in the highly oversampled sections of the design, while program code or microcode-driven processing elements are chosen for the more complex, but lower rate operations such as computing the taps for the adaptive filters and/or responding to detected events such as those described herein.

While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that the foregoing and other changes in form, and details may be made therein without departing from the spirit and scope of the invention. 

1. A personal audio device, comprising: a personal audio device housing; a transducer mounted on the housing for reproducing an audio signal including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer; a reference microphone mounted on the housing for providing a reference microphone signal indicative of the ambient audio sounds; an error microphone mounted on the housing in proximity to the transducer for providing an error microphone signal indicative of the acoustic output of the transducer and the ambient audio sounds at the transducer; and a processing circuit that implements an adaptive filter having a response that generates the anti-noise signal from the reference signal to reduce the presence of the ambient audio sounds heard by the listener, wherein the processing circuit shapes the response of the adaptive filter in conformity with the error microphone signal and the reference microphone signal by adapting the response of the adaptive filter to minimize the ambient audio sounds at the error microphone, wherein a response of the anti-noise signal to the reference microphone signal has an additional shaped frequency response independent of the adapting to alter the anti-noise signal component of the acoustic output of the transducer as heard by the listener.
 2. The personal audio device of claim 1, wherein the processing circuit implements a first fixed filter having a predetermined response acting in functional series with the adaptive filter, wherein the predetermined response provides the shaped frequency response.
 3. The personal audio device of claim 1, wherein the processing circuit implements a secondary path adaptive filter having a secondary path response that shapes the source audio and a combiner that removes the source audio from the error microphone signal to provide an error signal indicative of the combined anti-noise and ambient audio sounds delivered to the listener, and wherein the processing circuit further implements a copy of the secondary path adaptive filter that filters the reference microphone signal to provide a correlation input to the adaptive filter that is correlated with the error signal to control the adapting of the adaptive filter, wherein the processing circuit adapts the adaptive filter to minimize components of the error signal that are correlated with an output of the copy of the secondary path adaptive filter, and wherein the processing circuit further implements a second filter having a response identical to the predetermined response of the first fixed filter that shapes the reference microphone signal to stabilize control of the response of the adaptive filter.
 4. The personal audio device of claim 3, wherein the second filter further includes a low-pass response that prevents the control of the adaptive filter from adapting to remove the predetermined response of the first fixed signal from the anti-noise signal, and wherein the processing circuit implements a third filter having the low-pass response that filters the error signal.
 5. The personal audio device of claim 2, wherein the predetermined response is a response shaped to remove a particular problem frequency from the anti-noise signal.
 6. The personal audio device of claim 5, wherein the particular problem frequency is a multipath null in the frequency range between 2 kHz and 5 kHz that is present in an acoustic path between the reference microphone and the error microphone.
 7. The personal audio device of claim 2, wherein the processing circuit implements a secondary path adaptive filter having a secondary path response that shapes the source audio and a combiner that removes the source audio from the error microphone signal to provide an error signal indicative of the combined anti-noise and ambient audio sounds delivered to the listener, wherein the processing circuit further subtracts the output of the first fixed filter and adds the output of the adaptive filter to the source audio provided to the secondary path adaptive filter to remove the effect of the first fixed filter from the error signal.
 8. The personal audio device of claim 7, wherein the processing circuit further implements a second fixed filter having a phase response matching a predetermined phase response of the first filter, but having an amplitude response that passes frequencies across a frequency band in which the predetermined response of the first fixed filter has substantial attenuation, wherein the processing circuit filters the output of the adaptive filter that is added to the source audio with the second fixed filter, so that the phase response of the first fixed filter does not cause error in the adapting of the adaptive filter, and wherein the processing circuit further implements a third fixed filter having a response matching the response of the second fixed filter, wherein the processing circuit further filters the reference microphone signal supplied to the copy of the secondary path adaptive filter with the third fixed filter.
 9. The personal audio device of claim 1, wherein the personal audio device is a wireless telephone further comprising a transceiver for receiving the source audio as a downlink audio signal.
 10. The personal audio device of claim 1, wherein the personal audio device is an audio playback device, wherein the source audio is a program audio signal.
 11. A method of canceling ambient audio sounds in the proximity of a transducer of a personal audio device, the method comprising: first measuring ambient audio sounds with a reference microphone to produce a reference microphone signal; second measuring an output of the transducer and the ambient audio sounds at the transducer with an error microphone; adaptively generating an anti-noise signal from a result of the first measuring and the second measuring for countering the effects of ambient audio sounds at an acoustic output of the transducer by adapting a response of an adaptive filter that filters an output of the reference microphone; combining the anti-noise signal with a source audio signal to generate an audio signal provided to the transducer; and shaping a frequency response applied to the generated anti-noise signal independent of the adapting of the response of the adaptive filter to reduce error between an anti-noise signal component of the acoustic output of the transducer as heard by the listener and an anti-noise signal component of the acoustic output of the transducer.
 12. The method of claim 11, wherein the shaping is performed by filtering a result of the adaptively generating with a first fixed filter having a predetermined response.
 13. The method of claim 12, further comprising: shaping a copy of the source audio with a secondary path response; removing the result of the shaping the copy of the source audio from the error microphone signal to produce an error signal indicative of the combined anti-noise and ambient audio sounds delivered to the listener; and second filtering the reference microphone signal with a response identical to the predetermined response of the first fixed filter and another response according to a copy of the secondary path adaptive filter to provide an input to the adaptive filter.
 14. The method of claim 13, further comprising applying a low-pass response to the result of the second filtering to prevent the adaptively generating from adapting to cancel the shaping, and further comprising filtering the error signal with another filter having the low-pass response.
 15. The method of claim 13, wherein the predetermined response is a response shaped to remove a particular problem frequency from the anti-noise signal.
 16. The method of claim 15, wherein the particular problem frequency is a multipath null in the frequency range between 2 kHz and 5 kHz that is present in an acoustic path between the reference microphone and the error microphone.
 17. The method of claim 12, further comprising: shaping a copy of the source audio with a secondary path response; removing the result of the shaping the copy of the source audio from the error microphone signal to produce an error signal indicative of the combined anti-noise and ambient audio sounds delivered to the listener; second filtering the reference microphone signal with a response according to a copy of the secondary path adaptive filter to provide an input to the adaptive filter; and subtracting the output of the first fixed filter and adding the output of the adaptive filter to the source audio provided to the secondary path adaptive filter to remove the effect of the first fixed filter from the error signal.
 18. The method of claim 17, further comprising: filtering a the portion of the output of the adaptive filter that is added to the source audio with a second fixed filter having a phase response matching a predetermined phase response of the first fixed filter, but having an amplitude response that passes frequencies across a frequency band in which the predetermined response of the first fixed filter has substantial attenuation, so that the phase response of the first fixed filter does not cause error in the adaptively generating; and filtering the reference microphone signal supplied to the second filtering with a third fixed filter having a response equal to the response of the second fixed filter.
 19. The method of claim 13, wherein the personal audio device is a wireless telephone, and wherein the method further comprises receiving the source audio as a downlink audio signal.
 20. The method of claim 13, wherein the personal audio device is an audio playback device, wherein the source audio is a program audio signal.
 21. An integrated circuit for implementing at least a portion of a personal audio device, comprising: an output for providing a signal to a transducer including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer; a reference microphone input for receiving a reference microphone signal indicative of the ambient audio sounds; an error microphone input for receiving an error microphone signal indicative of the output of the transducer and the ambient audio sounds at the transducer; and a processing circuit that implements an adaptive filter having a response that generates the anti-noise signal from the reference signal to reduce the presence of the ambient audio sounds heard by the listener, wherein the processing circuit shapes the response of the adaptive filter in conformity with the error microphone signal and the reference microphone signal by adapting the response of the adaptive filter to minimize the ambient audio sounds in the error microphone signal, wherein a response of the anti-noise signal to the reference microphone signal has an additional shaped frequency response independent of the adapting to alter the anti-noise signal component of the acoustic output of the transducer as heard by the listener.
 22. The integrated circuit of claim 21, wherein the processing circuit implements a first fixed filter having a predetermined response acting in functional series with the adaptive filter, wherein the predetermined response provides the shaped frequency response.
 23. The integrated circuit of claim 22, wherein the processing circuit implements a secondary path adaptive filter having a secondary path response that shapes the source audio and a combiner that removes the source audio from the error microphone signal to provide an error signal indicative of the combined anti-noise and ambient audio sounds delivered to the listener, and wherein the processing circuit further implements a copy of the secondary path adaptive filter that filters the reference microphone signal to provide a correlation input to the adaptive filter that is correlated with the error signal to control the adapting of the adaptive filter, wherein the processing circuit adapts the adaptive filter to minimize components of the error signal that are correlated with an output of the copy of the secondary path adaptive filter, and wherein the processing circuit further implements a second filter having a response identical to the predetermined response of the first fixed filter that shapes the reference microphone signal to stabilize control of the response of the adaptive filter.
 24. The integrated circuit of claim 23, wherein the second filter further includes a low-pass response that prevents the control of the adaptive filter from adapting to remove the predetermined response of the first fixed signal from the anti-noise signal, and wherein the processing circuit implements a third filter having the low-pass response that filters the error signal.
 25. The integrated circuit of claim 22, wherein the predetermined response is a response shaped to remove a particular problem frequency from the anti-noise signal.
 26. The integrated circuit of claim 25, wherein the particular problem frequency is a multipath null in the frequency range between 2 kHz and 5 kHz that is present in an acoustic path between the reference microphone and the error microphone.
 27. The integrated circuit of claim 22, wherein the processing circuit implements a secondary path adaptive filter having a secondary path response that shapes the source audio and a combiner that removes the source audio from the error microphone signal to provide an error signal indicative of the combined anti-noise and ambient audio sounds delivered to the listener, wherein the processing circuit further subtracts the output of the first fixed filter and adds the output of the adaptive filter to the source audio provided to the secondary path adaptive filter to remove the effect of the first fixed filter from the error signal.
 28. The integrated circuit of claim 27, wherein the processing circuit further implements a second fixed filter having a phase response matching a predetermined phase response of the first filter, but having an amplitude response that passes frequencies across a frequency band in which the predetermined response of the first fixed filter has substantial attenuation, wherein the processing circuit filters the output of the adaptive filter that is added to the source audio with the second fixed filter, so that the phase response of the first fixed filter does not cause error in the adapting of the adaptive filter, and wherein the processing circuit further implements a third fixed filter having a response matching the response of the second fixed filter, wherein the processing circuit further filters the reference microphone signal supplied to the copy of the secondary path adaptive filter with the third fixed filter.
 29. A personal audio device, comprising: a personal audio device housing; a transducer mounted on the housing for reproducing an audio signal including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer; a reference microphone mounted on the housing for providing a reference microphone signal indicative of the ambient audio sounds; an error microphone mounted on the housing in proximity to the transducer for providing an error microphone signal indicative of the acoustic output of the transducer and the ambient audio sounds at the transducer; and a processing circuit that implements an adaptive filter having a response that generates the anti-noise signal from the reference microphone signal to reduce the presence of the ambient audio sounds heard by the listener, wherein the processing circuit shapes the response of the adaptive filter in conformity with the error microphone signal and the reference microphone signal by adapting the response of the adaptive filter to minimize the ambient audio sounds at the error microphone, wherein the response of the adaptive filter is further adjusted independent of the adapting, in order to constrain the adaptive filter to alter the adapting of the adaptive filter to the ambient audio sounds.
 30. The personal audio device of claim 29, wherein the adaptive filter comprises: a first fixed portion of the adaptive filter; and a second adaptive portion of the adaptive filter, wherein the first fixed portion and the second adaptive portion operate together to generate the response that shapes the anti-noise signal, and wherein the second adaptive portion has a leakage characteristic that restores the response of the second adaptive portion to an initial response of the second adaptive portion over time.
 31. The personal audio device of claim 29, wherein the response of the adaptive filter is adjusted by combining injected noise with the reference microphone signal so that the response of the adaptive filter is controlled by the adaptive filter adapting to cancel the injected noise, whereby the response of the adaptive filter is reduced in frequency regions in a frequency range of the injected noise.
 32. The personal audio device of claim 29, wherein the response of the adaptive filter is adjusted independent of the adaptation of the adaptive filter by the processing circuit implementing a copy of the adaptive filter to receive the injected noise so that the response of the copy of the adaptive filter is controlled by the adaptive filter adapting to cancel a combination of the ambient audio sounds and the injected noise, and wherein the processing circuit further controls the response of the adaptive filter with the coefficients adapted in the copy of the adaptive filter, whereby the injected noise is not present in the anti-noise signal.
 33. A method of canceling ambient audio sounds in the proximity of a transducer of a personal audio device, the method comprising: first measuring ambient audio sounds with a reference microphone to produce a reference microphone signal; second measuring an output of the transducer and the ambient audio sounds at the transducer with an error microphone; adaptively generating an anti-noise signal from a result of the first measuring and the second measuring for countering the effects of ambient audio sounds at an acoustic output of the transducer by adapting a response of an adaptive filter that filters an output of the reference microphone; combining the anti-noise signal with a source audio signal to generate an audio signal provided to the transducer; adjusting a response of the adaptive filtering independent of the adaptively generating, in order to constrain the adaptive filter to alter the adapting of the adaptive filter to the ambient audio sounds; and providing a result of the combining to the transducer to generate the acoustic output.
 34. The method of claim 33, wherein the adaptive filter comprises a first fixed portion of the adaptive filter, and a second adaptive portion of the adaptive filter, and wherein the method further comprises operating the first fixed portion and the second adaptive portion together to perform the adaptive generating, and wherein the method further comprises restoring the response of the second adaptive portion to an initial response of the second adaptive portion over time to cause leakage.
 35. The method of claim 33, further comprising adjusting the response of the adaptive filter by combining injected noise with the reference microphone signal so that the adaptively generating adapts to cancel the injected noise, whereby the response of the adaptive filter is reduced in frequency regions in a frequency range of the injected noise.
 36. The method of claim 33, wherein a response of the adaptively generating adaptive filter is adjusted independent of the adaptively generating by: filtering the injected noise with a duplicate response substantially identical to the response of the adaptive filter, whereby the duplicate response is controlled by the adaptively generating adapting to cancel a combination of the ambient audio sounds and the injected noise; and controlling the response of the adaptive filter with coefficients adapted in the duplicate response, whereby the injected noise is not present in the anti-noise signal.
 37. An integrated circuit for implementing at least a portion of a personal audio device, comprising: an output for providing a signal to a transducer including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer; a reference microphone input for receiving a reference microphone signal indicative of the ambient audio sounds; an error microphone input for receiving an error microphone signal indicative of the output of the transducer and the ambient audio sounds at the transducer; and a processing circuit that implements an adaptive filter having a response that shapes the anti-noise signal to reduce the presence of the ambient audio sounds heard by the listener, wherein a response of the adaptive filter is adjusted independent of the adaptation of the adaptive filter to the ambient audio sounds, in order to constrain the adaptive filter to alter the adapting of the adaptive filter to the ambient audio sounds.
 38. The integrated circuit of claim 37, wherein the adaptive filter comprises: a first fixed portion of the adaptive filter; and a second adaptive portion of the adaptive filter, wherein the first fixed portion and the second adaptive portion operate together to generate the response that shapes the anti-noise signal, and wherein the second adaptive portion has a leakage characteristic that restores the response of the second adaptive portion to an initial response of the second adaptive portion over time.
 39. The integrated circuit of claim 37, wherein the response of the adaptive filter is adjusted by combining injected noise with the reference microphone signal so that the response of the adaptive filter is controlled by the adaptive filter adapting to cancel the injected noise, whereby the response of the adaptive filter is reduced in frequency regions in a frequency range of the injected noise.
 40. The integrated circuit of claim 37, wherein the response of the adaptive filter is adjusted independent of the adaptation of the adaptive filter by the processing circuit implementing a copy of the adaptive filter to receive the injected noise so that the response of the copy of the adaptive filter is controlled by the adaptive filter adapting to cancel a combination of the ambient audio sounds and the injected noise, and wherein the processing circuit further controls the response of the adaptive filter with the coefficients adapted in the copy of the adaptive filter, whereby the injected noise is not present in the anti-noise signal.
 41. A personal audio device, comprising: a personal audio device housing; a transducer mounted on the housing for reproducing an audio signal including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer; a reference microphone mounted on the housing for providing a reference microphone signal indicative of the ambient audio sounds; an error microphone mounted on the housing in proximity to the transducer for providing an error microphone signal indicative of the acoustic output of the transducer and the ambient audio sounds at the transducer; and a processing circuit that implements a filter having a fixed frequency response and an adjustable gain that adjusts a magnitude of the anti-noise signal to reduce the presence of the ambient audio sounds heard by the listener, wherein the processing circuit adjusts the gain of the filter to minimize the ambient audio sounds at the error microphone.
 42. A method of canceling ambient audio sounds in the proximity of a transducer of a personal audio device, the method comprising: first measuring ambient audio sounds with a reference microphone to produce a reference microphone signal; second measuring an output of the transducer with an error microphone and the ambient audio sounds at the transducer; adaptively generating an anti-noise signal from a result of the first measuring and the second measuring for countering the effects of ambient audio sounds at an acoustic output of the transducer by adjusting a gain of a filter that filters an output of the reference microphone; combining the anti-noise signal with a source audio signal to generate an audio signal provided to the transducer; and providing a result of the combining to the transducer to generate the acoustic output.
 43. An integrated circuit for implementing at least a portion of a personal audio device, comprising: an output for providing a signal to a transducer including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer; a reference microphone input for receiving a reference microphone signal indicative of the ambient audio sounds; an error microphone input for receiving an error microphone signal indicative of the output of the transducer and the ambient audio sounds at the transducer; and a processing circuit that implements a filter having a fixed frequency response and an adjustable gain that adjusts a magnitude of the anti-noise signal to reduce the presence of the ambient audio sounds heard by the listener, wherein the processing circuit adjusts the gain of the filter to minimize the ambient audio sounds at the error microphone. 